import request from '@/utils/request'

// 查询商会会议记录列表
export function listMeetingRecord(query) {
    return request({
        url: '/dynamics/meetingRecord/list',
        method: 'get',
        params: query
    })
}
export function listMeetingPeople(query) {
    return request({
        url: '/dynamics/meetingRecord/listMeetingPeople',
        method: 'get',
        params: query
    })
}

// 查询商会会议记录详细
export function getMeetingRecord(id) {
    return request({
        url: '/dynamics/meetingRecord/' + id,
        method: 'get'
    })
}

// 新增商会会议记录
export function addMeetingRecord(data) {
    return request({
        url: '/dynamics/meetingRecord',
        method: 'post',
        data: data
    })
}


export function updateSign(data) {
    return request({
        url: '/dynamics/meetingRecord/updateSign',
        method: 'post',
        data: data
    })
}


// 修改商会会议记录
export function updateMeetingRecord(data) {
    return request({
        url: '/dynamics/meetingRecord',
        method: 'put',
        data: data
    })
}

// 删除商会会议记录
export function delMeetingRecord(id) {
    return request({
        url: '/dynamics/meetingRecord/' + id,
        method: 'delete'
    })
}
